package com.relax.no_xml.shiw;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

@Service
public class ShiwuService {

	@Autowired
	private JdbcTemplate jdbcTemplate;

	public void insert (){
		String sql="insert into users(id,name ) values (1,bb) ";
		jdbcTemplate.update(sql);
	}
}
